PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

CompositeIconRef

Superimposes one IconRef onto another.

pascal OSErr CompositeIconRef(
                     IconRefbackgroundIconRef,
                     IconRefforegroundIconRef,
                     IconRef*compositeIconRef)

backgroundIconRef
A value of type IconRef to use as the background for the composite IconRef .

foregroundIconRef
A value of type IconRef to use as the foregound for the composite IconRef .

compositeIconRef
A pointer to a value of type IconRef. On completion, this points to an IconRef that is a composite of the specified background and foreground IconRefs .

function result
A result code. See Icon Services Result Codes for a description of possible return values.
DISCUSSION
This function provides an alternative to badging when you need to indicate a change of state.


© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)